<%@page import="blo.DictionariesBLO"%>
<%@page import="core.Word"%>
<%@page import="java.util.List"%>
<%@page import="java.util.Iterator"%>


<%
	String input = request.getParameter("q");
	DictionariesBLO dictBLO = new DictionariesBLO();
	List<Word> LW= dictBLO.getNNearestWords(8,input);
	for(int i=0;i<LW.size() ;i++ ){
		out.println(LW.get(i).strWord);
	}
%>